package com.zjm.entity;

public class Teacher {
    private Integer id;
    private String name;
    private String password;
    private String job;
    private String academy;
    private String major;

    public Teacher(Integer id , String name , String password ,  String job , String academy, String major) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.job = job;
        this.academy = academy;
        this.major = major;
    }

    public Teacher() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", job='" + job + '\'' +
                ", academy='" + academy + '\'' +
                ", major='" + major + '\'' +
                '}';
    }
}
